/**
Date: 2025-08-13
Copyright (c) 2025 Industrial Software Feature Database
*/
import request from '@/utils/request';

// 根据业务场景统计要素库数据量
export function getCountDataByScenario(data) {
  return request({
    url: '/isfd/statisticalAnalysis/countDataByScenario',
    method: 'post',
    data
  });
}

// 数据资产统计
export function getDataAssetStatistics(data) {
  return request({
    url: '/isfd/statisticalAnalysis/dataAssetStatistics',
    method: 'post',
    data
  });
}

// 数据服务统计
export function getDataServiceCount(data) {
  return request({
    url: '/isfd/statisticalAnalysis/dataServiceCount',
    method: 'post',
    data
  });
}

// 数据来源分布
export function getDataSourceDistribution(data) {
  return request({
    url: '/isfd/statisticalAnalysis/dataSource/distribution',
    method: 'post',
    data
  });
}

// 数据增长趋势
export function getGrowthTrend(data) {
  return request({
    url: '/isfd/statisticalAnalysis/growthTrend',
    method: 'post',
    data
  });
}

// 下载word
export function downLoadWord(data) {
  return request({
    url: '/isfd/statisticalAnalysis/pdfDownload',
    method: 'post',
    data,
    responseType: 'blob'
  });
}
